package com.jay.test.designModel.creater.staticFactory;

/**
 * Created by caoyuan7 on 2018/9/28.
 */
public class MultiOperator implements Operator<Integer> {
    public Integer getResault(Integer... args) {
        int result = 1;
        for (int arg : args) {
            result *= arg;
        }

        return result;
    }
}
